package com.hippo.javacore.multithreading;

/**
 * @ClassName RunTest
 * @Description TODO 测试运行
 * @Author tangxl
 * @create 2023-03-10 10:56
 **/
public class RunTest {
    public static void main(String[] args) {
        // 继承Thread创建线程
        Thread thread1 = new ThreadDemo1("线程A");
        Thread thread2 = new ThreadDemo1("线程B");
        thread1.run();
        thread2.run();
    }
}
